{"ast":null,"code":"import React from'react';import{UserItem}from\"../index\";import\"./Users.scss\";import{jsx as _jsx}from\"react/jsx-runtime\";import{Fragment as _Fragment}from\"react/jsx-runtime\";var Users=function Users(props){if(props.users&&props.users.items.length>0){return/*#__PURE__*/_jsx(\"div\",{className:\"users-container\",children:props.users.items.map(function(item){return/*#__PURE__*/_jsx(UserItem,{profile:item},item.id);})});}else{return/*#__PURE__*/_jsx(_Fragment,{});}};export default Users;","map":{"version":3,"names":["React","UserItem","Users","props","users","items","length","map","item","id"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/components/Users/index.tsx"],"sourcesContent":["import React from 'react';\nimport {UsersProps} from \"../../models/props/UsersProps\";\nimport {UserItem} from \"../index\";\nimport \"./Users.scss\";\n\nconst Users: React.FC<UsersProps> = (props) => {\n\n    if (props.users && props.users.items.length > 0) {\n        return (\n            <div className='users-container'>\n                {props.users.items.map((item) => (<UserItem key={item.id} profile={item}/>))}\n            </div>\n        );\n    } else {\n        return (<></>);\n    }\n}\n\nexport default Users;"],"mappings":"AAAA,MAAOA,MAAK,KAAM,OAAO,CAEzB,OAAQC,QAAQ,KAAO,UAAU,CACjC,MAAO,cAAc,CAAC,gGAEtB,GAAMC,MAA2B,CAAG,QAA9BA,MAA2B,CAAIC,KAAK,CAAK,CAE3C,GAAIA,KAAK,CAACC,KAAK,EAAID,KAAK,CAACC,KAAK,CAACC,KAAK,CAACC,MAAM,CAAG,CAAC,CAAE,CAC7C,mBACI,YAAK,SAAS,CAAC,iBAAiB,UAC3BH,KAAK,CAACC,KAAK,CAACC,KAAK,CAACE,GAAG,CAAC,SAACC,IAAI,qBAAM,KAAC,QAAQ,EAAe,OAAO,CAAEA,IAAK,EAAvBA,IAAI,CAACC,EAAE,CAAkB,EAAC,CAAC,EAC1E,CAEd,CAAC,IAAM,CACH,mBAAQ,kBAAK,CACjB,CACJ,CAAC,CAED,cAAeP,MAAK"},"metadata":{},"sourceType":"module"}